package com.controller.qsl;

import com.bean.qsl.BxInfo;
import com.dao.qsl.Sqbx;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import javax.servlet.http.HttpServletRequest;
import java.util.List;

@Controller
public class GetSqbx {
      @Autowired
      private Sqbx s;
      @RequestMapping("/QslPage/sqbx")
      @ResponseBody
      public List<BxInfo> bx(HttpServletRequest request){
            System.out.println(request);
            return s.bx(request);
      }
}
